﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Report_Unity.Unitys
{
    public class RandomUtils
    {
        public static string GetCode()
        {
            StringBuilder sb = new StringBuilder();
            Random r = new Random();
            for (int i = 0; i < 6; i++)
            {
                sb.Append(r.Next(0, 9));
            }

            return sb.ToString();
        }
    }
}
